package com.xz.log.integration.sample.log4j;

import com.xz.log.common.logging.sample.CommonLoggingSample;
import com.xz.log.jul.sample.JulSample;
import com.xz.log.log4j.sample.Log4jSample;
import com.xz.log.log4j2.sample.Log4j2Sample;
import com.xz.log.logback.sample.LogbackSample;

/**
 * Created by fingal on 2018/7/19.
 */
public class Log4jIntegrationSample {

    private static final Log4jIntegrationSample INSTANCE = new Log4jIntegrationSample();

    private Log4jIntegrationSample() {}

    public static Log4jIntegrationSample getInstance() {
        return INSTANCE;
    }

    public void log() {
        JulSample.getInstance().log();
        CommonLoggingSample.getInstance().log();
        Log4j2Sample.getInstance().log();
        Log4jSample.getInstance().log();
        LogbackSample.getInstance().log();
    }
}
